package com.hllxd.hism.passport.login.gateway.dao.redis;

/**
 * @program: hllopen-rbac
 * @author: yuanhao
 * @description: 开放平台Token缓存
 * @create: 2020-05-11 15:03
 */

public interface AccessTokenRedisMapper {
    /**
     * 缓存token到redis
     */
    void setAccessToken(Integer plat, String phoneNumber, String accessTokenJson);

    String getAccessToken(Integer plat, String phoneNumber);

    void setTokenInfo(String accessToken,String userInfo);
    String getTokenInfo(String token);
}
